package com.be.beadmin.design.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author: Mengyang Zhu
 * @Date: 2023/2/16 20:51
 * @Description: 柜体的图纸信息
 */
@Table(name="T_OM_ProductDrawingInfo")
@Data
@Entity
public class ProductDrawingInfo extends BaseEntity {
    @Column(name = "productCode",columnDefinition = "VARCHAR(50) not null COMMENT '产品/柜体编号' ")
    private String productCode;
    @Column(name = "drawingCode",columnDefinition = "VARCHAR(50) COMMENT '图纸编号' ")
    private String drawingCode;

    @Column(name = "drawingName",columnDefinition = "VARCHAR(200) COMMENT '图纸名称' ")
    private String drawingName;
    @Column(name = "drawingSequence",columnDefinition = "VARCHAR(50) COMMENT '柜体图纸序号' ")
    private String drawingSequence;
    @Column(name = "category",columnDefinition = "VARCHAR(255) COMMENT '图纸类别' ")
    private String category;
    @Column(name = "drawingSpec",columnDefinition = "VARCHAR(50) COMMENT '柜体图纸描述' ")
    private String drawingSpec;
    @Column(name = "drawingUrl",columnDefinition = "VARCHAR(50) COMMENT '柜体图纸链接' ")
    private String drawingUrl;
    @Column(name = "printFlag",columnDefinition = "int COMMENT '图纸打印标识:0未打印过;1已打印过' ")
    private int printFlag;
    @Column(name = "archiveFlag",columnDefinition = "int COMMENT '归档标识,0:未归档,1:已归档' ")
    private int archiveFlag;
    @Column(name = "tenantId",columnDefinition = "VARCHAR(50) COMMENT '租户id' ")
    private String tenantId;
    @Column(name = "isolation",columnDefinition = "int COMMENT '数据隔离' ")
    private int isolation;
    @Column(name = "version" , columnDefinition = "VARCHAR(10) COMMENT '版本' ")
    private String version;

    @Column(name = "isActive",columnDefinition = "int COMMENT '生效' ")
    private int isActive;

    @Column(name = "changeOrAdd",columnDefinition = "VARCHAR(1) COMMENT '正常=0,新增=1,变更=2' ")
    private String changeOrAdd;

    @Column(name = "changeStatus",columnDefinition = "int COMMENT '变更状态：待审核=0，通过=2，驳回=3'")
    private int changeStatus;


}
